const {override, fixBabelImports, addLessLoader} = require('customize-cra');
/*配置具体的规则*/
module.exports = override(
    fixBabelImports('import', {
        libraryName: 'antd',
        libraryDirectory: 'es',
        style: true,
    }),
    addLessLoader({
        modifyVars: {
            'primary-color': '#1DA57A',
            'link-color': '#1DA57A',
            'border-radius-base': '2px',
        },
        javascriptEnabled: true,
    }),
)